package com.yzt.zhuju.download;

import okhttp3.ResponseBody;
import retrofit2.http.GET;
import retrofit2.http.Streaming;
import retrofit2.http.Url;
import rx.Observable;

/**
 * author : bob
 * date   : 2022/11/30
 * desc   : 文件下载的service接口
 */
public  interface FileDownLoadService {

    @Streaming
    @GET
    Observable<ResponseBody> downLoad(@Url String url);
}
